<?php

/**
 * @author minhthaind
 */
// User Const
define('USER_CREATED_SUCCESSFULLY', 2);
define('USER_CREATE_FAILED', 0);
define('USER_ALREADY_EXISTED', 1);
define('FACEBOOKID_ALREADY_EXISTED', 3);

// Action Const
define('CREATED_SUCCESSFULLY', 2);
define('ALREADY_EXISTED', 1);
define('CREATE_FAILED', 0);
define('VALIDATE_PARAMS', 3);
define('ACCESSS_DENIED', 4);
define('AUTHENTICATE_MISSING', 5);

define('UPDATE_SUCCESSFULLY', 1);
define('UPDATE_FAILED', 0);

define('GET_SUCCESSFULLY', 1);
define('GET_UNSUCCESSFULLY', 0);

define('CONSUME_SUCCESSFULLY', 1);
define('CONSUME_FAILED', 0);

define('USER_ACTIVED', 1);
define('USER_INACTIVE', 0);
// Login
define('LOGIN_FAILED', 0);
define('LOGIN_SUCCESSFULLY', 1);

define('TRANSFER_CREATED_SUCCESSFULLY', 1);
define('TRANSFER_CREATED_FAILED', 0);
// System Const
define('URL_VALIDATE', 'http://localhost:83/v1/user/validate/');
define('SUB_TITLE_ACTIVE', 'Active User');
define('IMG_URL', 'http://localhost:83/upload/%s');
// Status
define('API_STATUS_400', 400);
define('API_STATUS_401', 401);
define('API_STATUS_404', 404);
define('API_STATUS_200', 200);
define('API_STATUS_201', 201);
